package com.sky.service;

import com.sky.domain.UmsMember;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.dto.member.UmsMemberVO;
import com.sky.entity.GiteeEntity;
import com.sky.utils.PageUtils;

/**
* @author Administrator
* @description 针对表【ums_member(会员)】的数据库操作Service
* @createDate 2024-06-30 16:45:18
*/
public interface UmsMemberService extends IService<UmsMember> {

    /**
     * 分页查询会员
     * @param vo
     * @return
     */
    PageUtils queryPage(UmsMemberVO vo);

    /**
     * 添加会员
     * @param umsMember
     * @return
     */
    boolean addUmsMember(UmsMemberVO umsMember);

    /**
     * 用户登录
     * @param vo
     * @return
     */
    UmsMember login(UmsMemberVO vo);

    /**
     * gitee用户登录
     * @param giteeEntity
     * @return
     */
    UmsMember giteeLoginByToken(GiteeEntity giteeEntity);
}
